<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ attribute name="scripts" fragment="true"%>
<!doctype html>
<html>
<link href="<c:url value="/resources/css/main.css"/>" rel="stylesheet"
	type="text/css">

<div id=user-left>
<c:forEach items="${users}" var="user">
	<table>
	
		<tr>
			<td><spring:message code="user.password" /></td>
			<td>${user.password}</td>
		</tr>
		<tr>
			<td><spring:message code="user.first_name" /></td>
			<td>${user.firstName}</td>
		</tr>
		<tr>
			<td><spring:message code="user.last_name" /></td>
			<td>${user.lastName}</td>
		</tr>
		<tr>
			<td><spring:message code="user.email" /></td>
			<td>${user.email}</td>
		</tr>
		<tr>
			<td><spring:message code="user.phone_number" /></td>
			<td>${user.phoneNumber}</td>
		</tr>
	</table>
	<table>
		<tr>
			<td><spring:message code="user.country" /></td>
			<td>${user.country}</td>
		</tr>
		<tr>
			<td><spring:message code="user.city" /></td>
			<td>${user.city}</td>
		</tr>
		<tr>
			<td><spring:message code="user.street" /></td>
			<td>${user.street}</td>
		</tr>
		<tr>
			<td><spring:message code="user.housenumber" /></td>
			<td>${user.houseNumber}</td>
		</tr>
		<tr>
			<td><spring:message code="user.postal" /></td>
			<td>${user.postal}</td>
		</tr>
		<tr>
			<td><spring:message code="user.enabled" /></td>
			<td>${user.isDisabled()}</td>
		</tr>
		
	</table>
	</c:forEach>
</div>




<div id=user-left>
	<table>
		<tr>
			<td><spring:message code="user.password" /></td>
			<td><INPUT TYPE="text" NAME="password" SIZE="20"></td>
		</tr>
		<tr>
			<td><spring:message code="user.first_name" /></td>
			<td><INPUT TYPE="text" NAME="first_name" SIZE="20"></td>
		</tr>
		<tr>
			<td><spring:message code="user.last_name" /></td>
			<td><INPUT TYPE="text" NAME="last_name" SIZE="20"></td>
		</tr>
		<tr>
			<td><spring:message code="user.email" /></td>
			<td><INPUT TYPE="text" NAME="email" SIZE="20"></td>
		</tr>
		<tr>
			<td><spring:message code="user.phone_number" /></td>
			<td><INPUT TYPE="text" NAME="phone_number" SIZE="20"></td>
		</tr>
	</table>



</div>
<div id=user-right>
	<table>
		<tr>
			<td><spring:message code="user.country" /></td>
			<td><INPUT TYPE="text" NAME="country" SIZE="20"></td>
		</tr>
		<tr>
			<td><spring:message code="user.city" /></td>
			<td><INPUT TYPE="text" NAME="city" SIZE="20"></td>
		</tr>
		<tr>
			<td><spring:message code="user.street" /></td>
			<td><INPUT TYPE="text" NAME="street" SIZE="20"></td>
		</tr>
		<tr>
			<td><spring:message code="user.housenumber" /></td>
			<td><INPUT TYPE="text" NAME="housenumber" SIZE="20"></td>
		</tr>
		<tr>
			<td><spring:message code="user.postal" /></td>
			<td><INPUT TYPE="text" NAME="postal" SIZE="20"></td>
		</tr>
		<tr>
			<td><spring:message code="user.enabled" /></td>
			<td><INPUT TYPE="text" NAME="postal" SIZE="20"></td>
		</tr>



	</table>
</div>
<input type="submit" name="submit" value="submit" />


</html>
